package com.fqgj.sentry.manage.dao;

import com.fqgj.common.base.BaseMapper;
import com.fqgj.sentry.manage.entity.McPermissionEntity;

import java.util.List;

/**
 * User: ykpbean
 * Date: 2017-07-12
 * Time: 14:21:02.931
 */

public interface McPermissionDao extends BaseMapper<McPermissionEntity> {
    /**
     * 根据菜单id  查询权限集合
     *
     * @param menuId
     * @return
     */
    List<McPermissionEntity> findListByMenuId(Long menuId);

    /**
     * 查询所有菜单 的权限集合
     *
     * @return
     */
    List<McPermissionEntity> selectList();


}